//package com.qmdm.clinet.config;
//
//import feign.Request;
//import feign.Retryer;
//import feign.auth.BasicAuthRequestInterceptor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * Created by chenjin on 18/1/16.
// */
//@Configuration
//public class FeignConfig {
//
////    /**
////     * 配置请求重试
////     *
////     */
////    @Bean
////    public Retryer feignRetryer() {
////        return new Retryer.Default(200, 2, 10);
////    }
////
////
//    /**
//     * 设置请求超时时间
//     *默认
//     */
////     public Options() {
////      this(10 * 1000, 60 * 1000);
////      }
//
//
////    @Bean
////    Request.Options feignOptions() {
////        return new Request.Options(60 * 1000, 60 * 1000);
////    }
//
//
//
//    /**
//     * 打印请求日志
//     * @return
//     */
////    @Bean
////    public feign.Logger.Level multipartLoggerLevel() {
////        System.out.println("FeignConfig starting .....");
////        return feign.Logger.Level.FULL;
////    }
//
////    @Bean
////    public BasicAuthRequestInterceptor getBasicAuthRequestInterceptor() {
////        return  new BasicAuthRequestInterceptor("gwolf","gwolf");
////
////    }
//
//
//}
